﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HelloMinasan.Web.Song.ViewModels
{
    public class QAModels
    {
        //public string QuestionId { get; set; }

        [Required(ErrorMessage = "Question title not null")]
        public string QuestionTitle { get; set; }

        [Required(ErrorMessage = "Question catagory not null")]
        public string QuestionCatagory { get; set; }

        [Required(ErrorMessage = "Question Content not null")]
        [DataType(DataType.MultilineText)]
        [StringLength(2000, ErrorMessage = "Maxleght < 2000")]
        [Display(Name = "QuestionContent")]
        public string QuestionContent { get; set; }

        public System.DateTime PostedDate { get; set; }

        public string Owners { get; set; }

        public int SumView { get; set; }

        public int SumAnsert { get; set; }

        public bool Islock { get; set; }

        public bool Statu { get; set; }
    }

}